Telegram Group & Telegram Channel
🖥 xUnit — фреймворк и CLI для юнит-тестирования .NET-приложений

dotnet add package xunit --version 2.9.0

Если кто вдруг не использовал xUnit для тестирования своих приложений, то самое время это сделать — это неплохой и проверенный временем инструмент.

Особенности xUnit:
— проверка исключений делается ассертами, а не атрибутами, что больше соответствует стилю AAA (Assert.Throws, Record.Exception). Внутри исключения ловятся try-catch блоком.

— вместо специальных атрибутов xUnit использует естественные возможности C# (IDisposable, IClassFixture, ICollectionFixture)

🖥 GitHub
🟡 Быстрый старт

@csharp_1001_notes
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/csharp_1001_notes/509
Create:
Last Update:

🖥 xUnit — фреймворк и CLI для юнит-тестирования .NET-приложений

dotnet add package xunit --version 2.9.0

Если кто вдруг не использовал xUnit для тестирования своих приложений, то самое время это сделать — это неплохой и проверенный временем инструмент.

Особенности xUnit:
— проверка исключений делается ассертами, а не атрибутами, что больше соответствует стилю AAA (Assert.Throws, Record.Exception). Внутри исключения ловятся try-catch блоком.

— вместо специальных атрибутов xUnit использует естественные возможности C# (IDisposable, IClassFixture, ICollectionFixture)

🖥 GitHub
🟡 Быстрый старт

@csharp_1001_notes

BY C# 1001 notes






Share with your friend now:
tg-me.com/csharp_1001_notes/509

View MORE
Open in Telegram


C 1001 notes Telegram | DID YOU KNOW?

Date: |

Telegram is riding high, adding tens of million of users this year. Now the bill is coming due.Telegram is one of the few significant social-media challengers to Facebook Inc., FB -1.90% on a trajectory toward one billion users active each month by the end of 2022, up from roughly 550 million today.

However, analysts are positive on the stock now. “We have seen a huge downside movement in the stock due to the central electricity regulatory commission’s (CERC) order that seems to be negative from 2014-15 onwards but we cannot take a linear negative view on the stock and further downside movement on the stock is unlikely. Currently stock is underpriced. Investors can bet on it for a longer horizon," said Vivek Gupta, director research at CapitalVia Global Research.

C 1001 notes from us


Telegram C# 1001 notes
FROM USA